<%@ page language="java" contentType="text/html; charset=UTF-8"
	pageEncoding="UTF-8"%>
<%@ taglib prefix="c" uri="http://java.sun.com/jsp/jstl/core"%>
<%@ taglib prefix="form" uri="http://www.springframework.org/tags/form"%>
<%@ taglib prefix="tag" uri="http://www.springframework.org/tags"%>
<%@ taglib prefix="spring" uri="http://www.springframework.org/tags"%>

<h2><spring:message code="friends.label.searchresult"/></h2>

<c:forEach var="user" items="${searchResult }">

	<div class="friend_search_result">
		<h3><c:out value="${user.username }"></c:out></h3>
		<div class="avatar">
			<a href="#/user/<c:out value="${user.username }"></c:out>">
				<img src="/resources/css/img/default-avatar.png" alt="avatar" />
			</a>
		</div>
		<p><b><spring:message code="friends.label.username"/>:</b> <c:out value="${user.username }"></c:out> </p>
		<p><b><spring:message code="friends.label.firstname"/>:</b> <c:out value="${user.userAdditionalInformations.firstName }"></c:out> </p>
	</div>
</c:forEach>


<script type="text/javascript">

</script>